home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / BASIC / LIB / EVENTSHELL / DOCS / Sliders < prev    next >
Text File  |  1996-02-19  |  1KB  |  51 lines

  1. FNshell_AttachSliderHandler()
  2. =>    int    window handle
  3.     int    background icon handle
  4.     int    slider icon handle
  5.     int    display icon handle
  6.     int    increment value icon handle
  7.     int    decrement value icon handle
  8.     str    function to call on value change
  9.  
  10. <=    int    slider handle
  11.  
  12. This routine returns a handle that can be used to refer
  13. to the slider in other routine calls, for example
  14. PROCshell_SliderSetValue.
  15.  
  16. User FN (PROCshell_AttachSliderHandler)
  17. =>    int    new value of slider
  18.  
  19. <=    int    no meaning
  20.  
  21. Called every time the value of the slider
  22. changes.
  23.  
  24. --------------------------------------------------------
  25.  
  26. PROCshell_SliderSetValue()
  27. =>    int    slider handle
  28.     int    value (0-100)
  29.  
  30. --------------------------------------------------------
  31.  
  32. FNshell_SliderGetValue()
  33. =>    int    slider handle
  34.  
  35. <=    int    slider value
  36.  
  37. --------------------------------------------------------
  38.  
  39. FNshell_SliderGetHandle()
  40. =>    int    window handle
  41.     int    icon handle
  42.  
  43. <=    int    slider handle (-1 if handle is
  44.          illegal)
  45.  
  46. Use this routine to discover the handle of a slider
  47. whose events have been attached by !EvntEdit. This
  48. enables you to change the slider value for example. 
  49.  
  50. --------------------------------------------------------
  51.